@charset "utf-8";

@import "./reset.scss";

nav {
    width: 1920px;
    height: 75px;
    // border: 1px solid;
    position: relative;

    .imgbox1 {
        width: 130px;
        height: 52px;
        position: absolute;
        left: 180px;
        top: 10px;
    }

    input {
        width: 220px;
        height: 25px;
        position: absolute;
        left: 400px;
        top: 25px;
        border-radius: 15px;
    }

    .imgbox2 {
        position: absolute;
        left: 585px;
        top: 28px;
    }

    .dropdown {
        width: 440px;
        height: 40px;
        position: absolute;
        top: 15px;
        left: 770px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: 50px;

        li {
            &:hover {
                color: rgb(209, 9, 9);
                font-weight: 800;
                border-bottom: 3px solid rgb(209, 9, 9);
            }
        }

        li a {
            color: gray;
            text-decoration-line: none;
            font-size: 20px;

            &:hover {
                color: rgb(209, 9, 9);
                font-weight: 800;
            }
        }
    }

    .navRight {
        width: 220px;
        height: 70px;
        position: absolute;
        right: 300px;
        display: flex;
        justify-content: space-evenly;
        align-items: center;

        .register {
            font-size: 18px;
            border: 1px solid;
            width: 90px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            background-color: white;
        }

        .login {
            @extend .register;
        }
    }
}

main{
    width: 1920px;
    height: 3200px;
    position: relative;
    .newest{
        width: 1200px;
        height: 200px;
        margin: 0 auto;
        // border: 1px solid;
        position: relative;
        .new {
            width: 205px;
            height: 75px;
            font-size: 40px;
            background-color: white;
            position: absolute;
            top: 100px;
            left: 0;
            border: none;
            &:hover{
                color: red
            }
        }
        .recommend{
            @extend .new;
            left: 235px;
        }
    }
    .choose{
        width: 1200px;
        height: 50px;
        margin: 0 auto;
        span{
            margin-right: 25px; 
            option{
                color: gray;
            }
            select{
                width: 55px;
                height: 20px;
            }
        }

    }
    .mainBottom {
        width: 1920px;
        text-align: center;
        font-size: 25px;
        color: gray;
        position: absolute;
        bottom: 15px;
    }
}
.content{
    width: 1300px;
    height: 2700px;
    background-color: rgb(231, 229, 229);
    margin: 0 auto;
    position: relative;
    img{
        width: 100%;
    }
    .left{
        width: 400px;
        height: 2300px;
        position: absolute;
        top:0px;
        left: 50px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .imgbox3{
            width: 392px;
            height: 640px;
            background-color: white;
            position: relative;
            box-shadow: 0px 15px 20px -15px gray;
            border: 1px solid gray;
            .picture {
                position: absolute;
                top: 550px;
                left: 10px;
                font-size: 20px;
            }

            .data {
                position: absolute;
                top: 580px;
                left: 10px;
                color: gray;
                font-size: 20px;

                span {
                    color: red;
                }
            }
            .youhua{
                font-size: 20px;
                color: gray;
                position: absolute;
                top: 550px;
                right: 15px;
            }
            .time{
                @extend .youhua;
                font-size: 10px;
                top: 620px;
                right: 15px;
                color: black;
            }
            .heart{
                width: 35px;
                height: 35px;
                position: absolute;
                bottom: 150px;
                right: 15px;
            }
            .star{
                @extend .heart;
                right: 60px;
                bottom: 155px;
            }
        }
        .imgbox4{
            @extend .imgbox3;
            height: 450px;
            box-shadow: none;
            .picture{
                top: 350px;
            }
            .data{
                top: 380px;
            }
            .youhua{
                top: 350px;
            }
            .time{
                top: 420px;
            }
        }
        .imgbox5{
            @extend .imgbox3;
            box-shadow: none;
        }
    }
    .middle{
        width: 392px;
        height: 2450px;
        margin: 0px auto;
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        .imgbox6{
            width: 392px;
            height: 450px;
            background-color: white;
            position: relative;
            border: 1px solid gray;
            .picture {
                position: absolute;
                top: 350px;
                left: 10px;
                font-size: 20px;
            }

            .data {
                position: absolute;
                top: 380px;
                left: 10px;
                color: gray;
                font-size: 20px;

                span {
                    color: red;
                }
            }
            .youhua{
                font-size: 20px;
                color: gray;
                position: absolute;
                top: 350px;
                right: 15px;
            }
            .time{
                @extend .youhua;
                font-size: 10px;
                top: 420px;
                right: 15px;
                color: black;
            }
        }
        .imgbox7{
            @extend .imgbox6;
            height: 760px;
            .picture{
                top: 655px;
            }
            .data{
                top: 685px;
            }
            .youhua{
                top: 655px;
            }
            .time{
                top: 735px;
            }
        }
    }
    .right{
        width: 392px;
        height: 2200px;
        position: absolute;
        top:0px;
        right: 50px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .imgbox8{
            width: 392px;
            height: 715px;
            background-color: white;
            position: relative;
            border: 1px solid gray;
            .picture {
                position: absolute;
                top: 610px;
                left: 10px;
                font-size: 20px;
            }

            .data {
                position: absolute;
                top: 640px;
                left: 10px;
                color: gray;
                font-size: 20px;

                span {
                    color: red;
                }
            }
            .youhua{
                font-size: 20px;
                color: gray;
                position: absolute;
                top: 610px;
                right: 15px;
            }
            .time{
                @extend .youhua;
                font-size: 10px;
                top: 690px;
                right: 15px;
                color: black;
            }
        }
        .imgbox9{
            @extend .imgbox8;
            height: 450px;
            .picture{
                top: 350px;
            }
            .data{
                top: 380px;
            }
            .youhua{
                top: 350px;
            }
            .time{
                top: 420px;
            }
        }
        .imgbox10{
            @extend .imgbox8;
            height: 500px;
            .picture{
                top: 400px;
            }
            .data{
                top: 430px;
            }
            .youhua{
                top: 400px;
            }
            .time{
                top: 475px;
            }
        }
    }
    .loading{
        width: 90px;
        height: 90px;
        position: absolute;
        bottom: 100px;
        left: 605px;
        p{
            color: gray;
            font-size: 20px;
            position: absolute;
            bottom: -30px;
            left: 15px;
        }
    }
    .shuming {
        width: 45px;
        height: 35px;
        background-color: red;
        color: white;
        position: absolute;
        bottom: 0px;
        left: 627.5px;
        line-height: 35px;
        text-align: center;

        p {
            transform: rotate(270deg);
            font-size: 40px;
            font-weight: 700;
            position: absolute;
            top: -10px;
            left: 0px;
        }
    }
    
}
footer{
    width: 1920px;
    height: 140px;
    background-color: rgb(231, 229, 229);
    position: relative;
    img{
        width: 100%;
    }
    .address{
        width: 800px;
        height: 55px;
        position: absolute;
        top: 42.5px;
        left: 560px;
        text-align: center;
        p{
            margin: 10px;
            color: gray;
        }
    }
    .code{
        width: 110px;
        height: 110px;
        position: absolute;
        right: 350px;
        top: 15px;
    }
    .juxing{
        width: 70px;
        height: 30px;
        position: absolute;
        right: 369px;
        top: 55px;
    }
    .woyi{
        @extend .juxing;
    }
}

